-- food_material
-- created by limj
-- 道具描述：食材

return {
    -- 获取道具描述
    getDesc = function(itemId, args, para)
        local rank = ItemM.query(itemId, "rank");

        local desc   = getLocStr("script_desc_food_material1");
        local exDesc = string.format(getLocStr("script_desc_food_material2"), rank, rank + 1);

        if rank >= 4 then
            exDesc = string.format(getLocStr("script_desc_food_material3"), rank);
        end

        desc = string.format("%s\n%s", desc, exDesc);

        return desc;
    end,
};
